<template>
	<view class="member_box">
		<SalesInvite v-if="userType==1"/>
		<ManageInvite v-if="userType==2"/>
		<UserInvite v-if="userType==4"/>
	</view>
</template>

<script>
	import SalesInvite from "./components/salesInvite.vue"
	import ManageInvite from "./components/manageInvite.vue"
	import UserInvite from "./components/userInvite.vue"
	export default {
		components:{
			SalesInvite,
			ManageInvite,
			UserInvite
		},
		data(){
			return {
				userType: 4, // 1.导购员 2.店长 3.经销商 4.普通用户
			}
		}
	}
</script>

<style lang="scss" scoped>
	.member_box {
		
	}
</style>
